<template >
  <div class="home">
    <home-header :username="username"></home-header>
    <home-main></home-main>
  </div>
</template>

<script>
import HomeHeader from './components/HomeHeader.vue'
import HomeMain from './components/HomeMain.vue'

export default {
  name: "HomeView",
  data() {
    return {
      username: ''
    }
  },
  components: {
    HomeHeader,
    HomeMain
  },
  mounted() {
     this.username = localStorage.getItem('token')
  }
}
</script>

<style scoped>

</style>